package com.baseframe.topic.service;

import com.baseframe.tool.result.R;
import com.baseframe.topic.entity.SnsTestTopicItem;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baseframe.topic.entity.request.SnsTestTopicItemRequest;
import com.baseframe.topic.entity.vo.SnsTestTopicItemVO;
import com.baseframe.topic.entity.vo.SnsTestTopicVO;

import java.util.List;

/**

* @description 针对表【sns_test_topic_item(测验题目表)】的数据库操作Service
* @createDate 2023-06-29 23:12:25
*/
public interface SnsTestTopicItemService extends IService<SnsTestTopicItem> {

    public Integer totalScore(Long topicId);

    List<SnsTestTopicItemVO> getTopItems(SnsTestTopicItemRequest request);

    R<Object> saveOrUpdateTopicItemAndItemOption(SnsTestTopicItemRequest request);
}
